html,body{
    margin: 0;
    padding: 0;
    font-size: 20px;
}
a{
    text-decoration:none;
}
header{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    justify-content: space-between;
    align-items: center;
    height: 2.334rem;
    background-color: #f2f2f2;
    .logo{
        img{
            width: 1.334rem;
            height: .877rem;
            margin: 0 .734rem;
            display: block;
        }
    }
    .user{
        .user-p{
            width: 1rem;
            height: 1rem;
            margin: 0 .9rem;
            background: url(../img/user.png) no-repeat center;
            background-size: 1rem;
        }
    }
    .search-box{
        display: flex;
        align-items: center;
        width: 100%;
        height: 1.6625rem;
        border: 1px solid #e5e5e5;
        background-color: #fff;
        border-radius: 2px;
        .search-p{
            width: 1.5rem;
            height: 1.5rem;
            margin: 0;
            background: url(../img/search.png) no-repeat center;
            background-size: 1rem;
        }
        .search{
            margin: 0;
            height: 100%;
            color: rgba(0,0,0,.3);
            background-color: #fff;
            font-size: .83335rem;
            line-height: 1.6625rem;
        }
    }
}
.nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #f2f2f2;
    text-align: center;
    font-size: 0;
    height: 1.6345rem;
    margin-top: 2.334rem;
   .inner-nav{
    position: relative;
    .nav-item{
        display: inline-block;
        padding: 0 .65rem;
        span{
            line-height: 1.5rem;
            font-size: .68rem;
            color: #747474;
        }
        &:nth-child(5){
            padding-right: 2rem;
        }
    }
    .nav-display{
        position: absolute;
        top: 0;
        right: 0;
        width:1.75rem ;
        height: 1.4rem;
        z-index: 99;
        p{
            background: url(../img/row.png) no-repeat;
            background-size: cover;
            width: 1rem;
            height: 1rem;
            margin: .2rem 0;
        }
    }
   }
}
.content{
    background-color: #4878a6;
    margin: 3.9685rem  auto  2.6rem;
    max-width: 720px !important;
    .title-p{
        img{
            display: block;
            width: 100%;
            height: 2.083rem;
        }
    }
    .goods{
        padding:0 .3125rem;
        display: flex;
        justify-content: center;
        .goods-item{
            display: block;
            text-decoration: none;
            .img{
                position: relative;
                img{
                    width: 100%;
                }
                .tag{
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    z-index: 10;
                    width: 3.0rem;
                    height: 3.0rem;
                    border-radius: 50%;
                    overflow: hidden;
                    img{
                        width: 90%;
                        height: 90%;
                    }
                }
            }
            .info{
                background-color: #ffffff;
                padding: .5rem .7rem;
                .info1{
                    display: flex;
                    justify-content: space-between;
                    .name{
                        margin: 0;
                        font-size: .8rem;
                        color: rgba(0,0,0,.87);
                    }
                    .price{
                        text-align: center;
                        margin: 0;
                        padding: 0 0 0 .36rem;
                        font-size:.7rem;
                        color: #ea625b;
                        span{
                            display: inline-block;
                            font-size:.6rem;
                            margin-left: .1rem;
                        }
                    }

                }
                .info2{
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    .desc{
                        font-size: .6rem;
                        color: rgba(0,0,0,.54);
                        margin: 0;
                    }
                    .buy{
                        width: 5.2rem;
                        background: #ea625b;
                        border-radius:.125rem;
                        text-align: center;
                        color: #fff;
                        font-size: .625rem;
                        font-weight: 700;
                        line-height: 1.53rem;
                        margin: 0;
                    }
                }
            }
        }
    }
    .goods2{
        display: flex;
        justify-content: center;
        padding:0 .3125rem;
        .goods-item{
            display: block;
            border-radius: .15rem;
            overflow: hidden;
            background-color: #fff;
            img{
                display: block;
                width: 8.802rem;
                // width: 100%;
                height:8.802rem;
                margin: 0;
            }
            &:nth-child(2){
                margin-left: .3125rem;
            }
            .info{
                padding: .729rem .26rem;
               .info1{
                   text-align: center;
                   margin-bottom: .3125rem;
                .name{
                    font-size: .729rem;
                    color: #3c3c3c;
                    margin:0;
                }
                .desc{
                    font-size: .6rem;
                    color: #3c3c3c;
                    margin: .15625rem 0 0 0 ;
                }
               }
               .info2{
                //    display: flex;
                   text-align: center;
                   .price{
                        font-size: .729rem;
                        margin: 0;
                        color: rgb(245, 75, 75);
                        span{
                            font-size: .6rem;
                            text-decoration: line-through;
                            color: rgba(0,0,0,.54);
                            margin-left: .25rem;
                        }
                   }
                   .buy{
                    width: 5.2rem;
                    background: #f54b4b;
                    border-radius:.125rem;
                    text-align: center;
                    color: #fff;
                    font-size: .625rem;
                    font-weight: 700;
                    line-height: 1.53rem;
                    margin: 0 auto;
                }

               }
            }
        }
    }
    .bottom-p{
        width: 100%;
        display: flex;
        justify-content: center;
        a{
            width: 50%;
            display: block;
            // width: 50%;
            img{
                display: block;
                width: 100%;
                height: 4.05rem;
            }
        }
    }
}
footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right:0;
    z-index: 999;
    width: 100%;
    height:2.6rem;
    background-color: #fff;
    box-shadow: 0 3px 14px 2px rgba(0 ,0 ,0 ,12%);
    .bt-nav{
        display: flex;
        align-items: center;
        height: 2.5rem;
        .bt-nav-item{
            display: block;
            width: 20%;
            font-size: 0;
            text-align: center;
            text-decoration: none;
           img{
            // display: block;
            margin: 0 1.25rem .25rem;
            width: 1.1rem;
            height:1.1rem;
           }
           p{
               color: #999999;
               margin: 0;
               font-size: .6rem;
           }
        }
    }
}
.line{
    width: 100%;
    height: .694rem;
    background-color: #4878a6;
}
.btfloat{
    width: 100%;
    position:fixed;
    z-index: 10000;
    bottom: 3rem;
    text-align: center;
    a{
        img{
            width:6.9rem;
            height: 1.9rem;
        }
    }
}
